package com.mycompany.inventory.pojo;

public class BillMaterial {
	private String Id;
	private String productId;
	private String materialId;
	private String 	number;

	public BillMaterial(String id, String productId, String materialId, String number) {
		this.setId(id);
		this.setMaterialId(materialId);
		this.setProductId(productId);
		this.setNumber(number);
	}

	public BillMaterial() {
		this.setId("");
		this.setProductId("");
		this.setMaterialId("");
		this.setNumber("");
	}
	
	public void clear(){
		this.setId("");
		this.setProductId("");
		this.setMaterialId("");
		this.setNumber("");
	}
	
	public void copyValue(BillMaterial Obj){
		this.setId(Obj.getId());
		this.setProductId(Obj.getProductId());
		this.setMaterialId(Obj.getMaterialId());
		this.setNumber(Obj.getNumber());
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return Id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		Id = id;
	}

	/**
	 * @return the productId
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * @param productId the productId to set
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}

	/**
	 * @return the materialId
	 */
	public String getMaterialId() {
		return materialId;
	}

	/**
	 * @param materialId the materialId to set
	 */
	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	/**
	 * @return the number
	 */
	public String getNumber() {
		return number;
	}

	/**
	 * @param number the number to set
	 */
	public void setNumber(String number) {
		this.number = number;
	}
	
}
